import memcache
mc = memcache.Client(['127.0.0.1:11211'],debug=True)
mc.incr('age')
print(mc.get('age'))
mc.decr('age')
print(mc.get('age'))
mc.delete('age')
print(mc.get('age'))